from django.http import HttpResponse
import json


def test(request):
    dic = {"name": "antony", "sex": "main"}
    if request.method == "GET":
        return HttpResponse(json.dumps(dic))

